package com.wm.bridge;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;

/**
 * @ClassName: Pay
 * @Description: 支付类型的桥接抽象类
 * @Author: WM
 * @Date: 2023/3/20 19:41
 */
public abstract class Pay {
    protected final static Logger logger = LoggerFactory.getLogger(Pay.class);
    protected IPayModel payModel;

    public Pay(IPayModel payModel) {
        this.payModel = payModel;
    }

    public abstract String transfer(String uId, String traceId, BigDecimal amount);
}
